<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ADXL362DMA: src/ADXL362DMA.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">ADXL362DMA
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">ADXL362DMA.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#ifndef __ADXL362_H</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#define __ADXL362_H</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment">// Library for the ADXL362 that uses SPI DMI for efficient data transfers</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment">// Github: https://github.com/rickkas7/ADXL362DMA</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment">// License: MIT </span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment">// Connect the ADXL362 breakout (when using with SPI instead of SPI1)</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment">// VIN: 3V3</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment">// GND: GND</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment">// SCL: A3 (SCK)</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment">// SDA: A5 (MOSI)</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment">// SDO: A4 (MISO)</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment">// CS: A2 (SS)</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment">// INT2: depends on usage</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment">// INT1: depends on usage</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="keyword">class </span><a class="code hl_class" href="class_a_d_x_l362_data_base.html">ADXL362DataBase</a>; <span class="comment">// Forward declaration</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html">   23</a></span><span class="keyword">class </span><a class="code hl_class" href="class_a_d_x_l362_d_m_a.html">ADXL362DMA</a> {</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68">   30</a></span>    <span class="keyword">enum class</span> <a class="code hl_enumeration" href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68">SampleRate</a> {</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span>        <a class="code hl_enumvalue" href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68a624fd2783d9362c39be475dc6ec3aa93">RATE_3_125_HZ</a>,  </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>        <a class="code hl_enumvalue" href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68a100226fa04828ab7f5a18b42a3029231">RATE_6_25_HZ</a>,   </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>        <a class="code hl_enumvalue" href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68aea763bc634c771b683be09694e1ceefd">RATE_12_5_HZ</a>,   </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>        <a class="code hl_enumvalue" href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68ab56f9853e3eebc8f4fde7c6f9786efb5">RATE_25_HZ</a>,     </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>        <a class="code hl_enumvalue" href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68aa1e82bd62bee29679cc3c5ac48cb7b7d">RATE_50_HZ</a>,     </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>        <a class="code hl_enumvalue" href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68aa7e3500362eb0cfec89491139fbdaf08">RATE_100_HZ</a>,    </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span>        <a class="code hl_enumvalue" href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68a3482c5eb1cbc1947be66ef1f4e2942f2">RATE_200_HZ</a>,    </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>    };</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>    <a class="code hl_class" href="class_a_d_x_l362_d_m_a.html">ADXL362DMA</a>(SPIClass &amp;spi, <span class="keywordtype">int</span> cs = A2, SPISettings settings = SPISettings(4*MHZ, MSBFIRST, SPI_MODE0));</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>    <span class="keyword">virtual</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#af688bb9b1b5412d7ca02d1117afe2628">~ADXL362DMA</a>();</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a3613abc0092f3a47626a46583086e2ac">softReset</a>();</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a4e7b3dd4a5ce55c3814b03b709cd1b01">chipDetect</a>();</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span> </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a7231bacc8d5a573338beece42fdc8235">setSampleRate</a>(<a class="code hl_enumeration" href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68">SampleRate</a> rate);</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span> </div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#af0449702b1acbcd239b914cc2c0c5230">setMeasureMode</a>(<span class="keywordtype">bool</span> enabled = <span class="keyword">true</span>);</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span> </div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a676aa18f6cd6193baaa6a3b3d9544f5d">readXYZT</a>(int16_t &amp;x, int16_t &amp;y, int16_t &amp;z, int16_t &amp;t);</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span> </div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a07e5f7e2dc622db3c6e8b99cb7603058">readXYZ</a>(int16_t &amp;x, int16_t &amp;y, int16_t &amp;z);</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span>    <span class="keywordtype">float</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#af0187e7e2406ab17e0d85f5af121e58d">readTemperatureC</a>();</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span> </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span>    <span class="keywordtype">float</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#afcb3ddd39ccfc8aca211cfbb1b16b2b1">readTemperatureF</a>();</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span> </div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a9493d68c303e0e5d9cfe0b6f7b86ae26">readRollPitchRadians</a>(<span class="keywordtype">float</span> &amp;roll, <span class="keywordtype">float</span> &amp;pitch);</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span> </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#affe8d8877ed5b7dc9c60886e8a15940d">readRollPitchDegrees</a>(<span class="keywordtype">float</span> &amp;roll, <span class="keywordtype">float</span> &amp;pitch);</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span> </div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span>    uint8_t <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a9505bf92630ce259d57d31bd70d882c9">readStatus</a>();</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span> </div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span>    uint16_t <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#abfd359d9ae81b38fd376854b1bfbf86f">readNumFifoEntries</a>();</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span> </div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a6fdfa611437a49c08f3a8c6d45c6005a">readFifoAsync</a>(<a class="code hl_class" href="class_a_d_x_l362_data_base.html">ADXL362DataBase</a> *data);</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span> </div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a0b3ee71ec17e12b861b1f3964bbbca6d">writeActivityThreshold</a>(uint16_t value);</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span> </div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a642505fbd9b87951d38ae6ee3f2d9f03">writeActivityTime</a>(uint8_t value);</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno">  247</span> </div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno">  268</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a95443809390540083d586fa3cae7dad4">writeInactivityThreshold</a>(uint16_t value);</div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno">  269</span> </div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno">  301</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a8c5463e88186b539f21c64da7a29c822">writeInactivityTime</a>(uint16_t value);</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno">  302</span> </div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno">  308</span>    uint8_t <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#adee4a68cc2dda738a3f5d0f880285f37">readActivityControl</a>(uint8_t value);</div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno">  309</span> </div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno">  310</span> </div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno">  318</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a3e4bd6feb578cadb8729145d8a2caea1">writeActivityControl</a>(uint8_t value);</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno">  319</span> </div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno">  320</span> </div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno">  333</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a3e4bd6feb578cadb8729145d8a2caea1">writeActivityControl</a>(uint8_t linkLoop, <span class="keywordtype">bool</span> inactRef, <span class="keywordtype">bool</span> inactEn, <span class="keywordtype">bool</span> actRef, <span class="keywordtype">bool</span> actEn);</div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno">  334</span> </div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno">  335</span> </div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno">  340</span>    uint8_t <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a4af1aa8ccf2bdab589a1398a32947dc8">readFifoControl</a>();</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno">  341</span> </div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno">  348</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#acc61d99bb32c1999613101ce25d79e80">writeFifoControl</a>(uint8_t value);</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno">  349</span> </div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno">  356</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#ac5a4a81cb3df3cf749424709d9957027">writeFifoSamples</a>(uint8_t value);</div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno">  357</span> </div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno">  358</span>    <span class="comment">// samples 0-511, fifoMode = FIFO_DISABLED, etc.</span></div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno">  366</span><span class="comment"></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#ad117ed8fde3cb114e5b0e3537af8d63d">writeFifoControlAndSamples</a>(uint16_t samples, <span class="keywordtype">bool</span> storeTemp, uint8_t fifoMode);</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno">  367</span> </div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno">  372</span>    uint8_t <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a25a7d5eed5c9b959f4f912b6843ba937">readIntmap1</a>();</div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno">  373</span> </div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno">  392</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a9dd56e06ae89e0637e08592f0add30da">writeIntmap1</a>(uint8_t value);</div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno">  393</span> </div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno">  398</span>    uint8_t <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a8374cbee774ed5745ace6e7e6bc882e6">readIntmap2</a>();</div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno">  399</span> </div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno">  404</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a05288351287688331533844d459b6f87">writeIntmap2</a>(uint8_t value);</div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno">  405</span> </div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno">  410</span>    uint8_t <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#ab1452ed8704593b870caf4d527b7c560">readFilterControl</a>();</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span> </div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno">  419</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#ace7908e2b9f1b2800263282bf2c406b9">writeFilterControl</a>(uint8_t value);</div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno">  420</span> </div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno">  428</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#ace7908e2b9f1b2800263282bf2c406b9">writeFilterControl</a>(uint8_t range, <span class="keywordtype">bool</span> halfBW, <span class="keywordtype">bool</span> extSample, uint8_t odr);</div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno">  429</span> </div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno">  434</span>    uint8_t <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a6de10c3a2154ca30b38718a4df052ffc">readPowerCtl</a>();</div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno">  435</span> </div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno">  436</span> </div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno">  446</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#af9e8fb0fce80702214f788a7af08092e">writePowerCtl</a>(uint8_t value);</div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno">  447</span> </div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno">  448</span> </div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno">  463</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#af9e8fb0fce80702214f788a7af08092e">writePowerCtl</a>(<span class="keywordtype">bool</span> extClock, uint8_t lowNoise, <span class="keywordtype">bool</span> wakeup, <span class="keywordtype">bool</span> autosleep, uint8_t measureMode);</div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno">  464</span> </div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno">  470</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#af130f51e52ee3e6bb870d5f8807cf2ae">writeLowNoise</a>(uint8_t value);</div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno">  471</span> </div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno">  477</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#af35bbf22cc8a33130c9acb2388f3b9d7">writeMeasureMode</a>(uint8_t value);</div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno">  478</span> </div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno">  486</span>    uint8_t <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#afb9bd621fbf60cab4a4a4a035eb78146">readRegister8</a>(uint8_t addr);</div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno">  487</span> </div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno">  493</span>    uint16_t <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a84486828f73fe063011dbbe645cf3f50">readRegister16</a>(uint8_t addr);</div>
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno">  494</span> </div>
<div class="line"><a id="l00504" name="l00504"></a><span class="lineno">  504</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a72587b60ebba63602a65746436fc4922">writeRegister8</a>(uint8_t addr, uint8_t value);</div>
<div class="line"><a id="l00505" name="l00505"></a><span class="lineno">  505</span> </div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno">  515</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#ac7b9f0cc79b946f66f91e2c55936f2db">writeRegister16</a>(uint8_t addr, uint16_t value);</div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno">  516</span> </div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a2dc7b13a3b1fffe9faec38f90e46c9a6">  520</a></span>    <span class="keywordtype">size_t</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a2dc7b13a3b1fffe9faec38f90e46c9a6">getSampleSizeInBytes</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> storeTemp ? 8 : 6; };</div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno">  521</span> </div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno">  522</span> </div>
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno">  526</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="class_a_d_x_l362_d_m_a.html#a30d4d525e7e388431dcbd287a58e1e87">syncTransaction</a>(<span class="keywordtype">void</span> *req, <span class="keywordtype">void</span> *resp, <span class="keywordtype">size_t</span> len);</div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno">  527</span> </div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno">  528</span> </div>
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno">  529</span>    <span class="comment">// Command bytes</span></div>
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#aa099ec96a807431096bb43ef6e75e2c8">  530</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#aa099ec96a807431096bb43ef6e75e2c8">CMD_WRITE_REGISTER</a> = 0x0a;     </div>
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a48fdfa7be6ccf69eb08ed5b8aef40044">  531</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a48fdfa7be6ccf69eb08ed5b8aef40044">CMD_READ_REGISTER</a> = 0x0b;      </div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a6da07846f6b783391772683681933da9">  532</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a6da07846f6b783391772683681933da9">CMD_READ_FIFO</a> = 0x0d;          </div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno">  533</span> </div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno">  534</span>    <span class="comment">// Registers</span></div>
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a92c62c49a642a2a59e17b8130a07f43d">  535</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a92c62c49a642a2a59e17b8130a07f43d">REG_DEVID_AD</a> = 0x00;           </div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#adbdd4bfcbb325123e21c782a00c6679b">  536</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#adbdd4bfcbb325123e21c782a00c6679b">REG_DEVID_MST</a> = 0x01;          </div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a989cc6bdf5de887564a712726605a360">  537</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a989cc6bdf5de887564a712726605a360">REG_PART_ID</a> = 0x02;            </div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a33282bc6a5f9d5bf0d409716cdfe8567">  538</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a33282bc6a5f9d5bf0d409716cdfe8567">REG_SILICON_ID</a> = 0x03;         </div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ad2e7e965fe8203991aae915f7e8843ab">  539</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ad2e7e965fe8203991aae915f7e8843ab">REG_XDATA_8</a> = 0x08;            </div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a27b6049d447592d847a06d9432a4c8fc">  540</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a27b6049d447592d847a06d9432a4c8fc">REG_YDATA_8</a> = 0x09;            </div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#aad681a85c34717fc42a24df64126c686">  541</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#aad681a85c34717fc42a24df64126c686">REG_ZDATA_8</a> = 0x0a;            </div>
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a808b65b615bc41dd306b1498d6828b02">  542</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a808b65b615bc41dd306b1498d6828b02">REG_STATUS</a> = 0x0b;             </div>
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a8b04646a18819d2cbf47b0d9a5cf1d1b">  543</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a8b04646a18819d2cbf47b0d9a5cf1d1b">REG_FIFO_ENTRIES_L</a> = 0x0c;     </div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#aacdd170c80293b23accb0383cc02be2e">  544</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#aacdd170c80293b23accb0383cc02be2e">REG_FIFO_ENTRIES_H</a> = 0x0d;     </div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a96b27c5428c6068999df7a02b5957962">  545</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a96b27c5428c6068999df7a02b5957962">REG_XDATA_L</a> = 0x0e;            </div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a7fbecff6c6f8cd4e74335c30cae05131">  546</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a7fbecff6c6f8cd4e74335c30cae05131">REG_XDATA_H</a> = 0x0f;            </div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a4a057ad0c183bdac8ba4319cab8f7e1d">  547</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a4a057ad0c183bdac8ba4319cab8f7e1d">REG_YDATA_L</a> = 0x10;            </div>
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a1081e703a96797082b80f47625e16b02">  548</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a1081e703a96797082b80f47625e16b02">REG_YDATA_H</a> = 0x11;            </div>
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#acd707a22e804cb2e1c08bca745ef5bf7">  549</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#acd707a22e804cb2e1c08bca745ef5bf7">REG_ZDATA_L</a> = 0x12;            </div>
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a0e173f839e4244bb43c470e9771c3680">  550</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a0e173f839e4244bb43c470e9771c3680">REG_ZDATA_H</a> = 0x13;            </div>
<div class="line"><a id="l00551" name="l00551"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a64fecd8ea8fa59f0631e16da05db08d2">  551</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a64fecd8ea8fa59f0631e16da05db08d2">REG_TDATA_L</a> = 0x14;            </div>
<div class="line"><a id="l00552" name="l00552"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a5277ea84198463f62ed31f0f2284cab8">  552</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a5277ea84198463f62ed31f0f2284cab8">REG_TDATA_H</a> = 0x15;            </div>
<div class="line"><a id="l00553" name="l00553"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ac60f2381a9a13c94486c5d201761ba4c">  553</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ac60f2381a9a13c94486c5d201761ba4c">REG_SOFT_RESET</a> = 0x1f;         </div>
<div class="line"><a id="l00554" name="l00554"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a423ce3c8b9e74e6efe3eb63b0251cc4d">  554</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a423ce3c8b9e74e6efe3eb63b0251cc4d">REG_THRESH_ACT_L</a> = 0x20;       </div>
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a9e5173d1c650107a0621c56904cff5bb">  555</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a9e5173d1c650107a0621c56904cff5bb">REG_THRESH_ACT_H</a> = 0x21;       </div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#aa161b241f47cfe55fedd6b7cfdc00349">  556</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#aa161b241f47cfe55fedd6b7cfdc00349">REG_TIME_ACT</a> = 0x22;           </div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ab642364c3cf53558b05b3912684d4d08">  557</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ab642364c3cf53558b05b3912684d4d08">REG_THRESH_INACT_L</a> = 0x23;     </div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a288a40c8d9930f76fcdca4f31bf3520a">  558</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a288a40c8d9930f76fcdca4f31bf3520a">REG_THRESH_INACT_H</a> = 0x24;     </div>
<div class="line"><a id="l00559" name="l00559"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ae070a8ecbcf805e8dedb19521364607a">  559</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ae070a8ecbcf805e8dedb19521364607a">REG_TIME_INACT_L</a> = 0x25;       </div>
<div class="line"><a id="l00560" name="l00560"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a611d458383b0bc50f546a74d9ca77663">  560</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a611d458383b0bc50f546a74d9ca77663">REG_TIME_INACT_H</a> = 0x26;       </div>
<div class="line"><a id="l00561" name="l00561"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a576c1c7dbc27bb869591ea09d48d09a4">  561</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a576c1c7dbc27bb869591ea09d48d09a4">REG_ACT_INACT_CTL</a> = 0x27;      </div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ab22b983781b39ba48f17f4ffaadb975b">  562</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ab22b983781b39ba48f17f4ffaadb975b">REG_FIFO_CONTROL</a> = 0x28;       </div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a83af33fc3292eb9bde9766c1769cc302">  563</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a83af33fc3292eb9bde9766c1769cc302">REG_FIFO_SAMPLES</a> = 0x29;       </div>
<div class="line"><a id="l00564" name="l00564"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ad67f624fa7c36956e4b87a9353df069c">  564</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ad67f624fa7c36956e4b87a9353df069c">REG_FIFO_INTMAP1</a> = 0x2a;       </div>
<div class="line"><a id="l00565" name="l00565"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#aa7dee373656782a54c78c06766017465">  565</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#aa7dee373656782a54c78c06766017465">REG_FIFO_INTMAP2</a> = 0x2b;       </div>
<div class="line"><a id="l00566" name="l00566"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a83b9676b56496aee772464730e28334e">  566</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a83b9676b56496aee772464730e28334e">REG_FILTER_CTL</a> = 0x2c;         </div>
<div class="line"><a id="l00567" name="l00567"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ad214f7d4ae7434e21bc8b5d41007fd2f">  567</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ad214f7d4ae7434e21bc8b5d41007fd2f">REG_POWER_CTL</a> = 0x2d;          </div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a802c6410e161b4c3ccdbdfb0f0eafa8c">  568</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a802c6410e161b4c3ccdbdfb0f0eafa8c">REG_SELF_TEST</a> = 0x2e;          </div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno">  569</span> </div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno">  570</span> </div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno">  571</span>    <span class="comment">// Status bits in status register</span></div>
<div class="line"><a id="l00572" name="l00572"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#aec0071aabe49b6604056e5f922cdaa2d">  572</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#aec0071aabe49b6604056e5f922cdaa2d">STATUS_ERR_USER_REGS</a> = 0x80;   </div>
<div class="line"><a id="l00573" name="l00573"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a7d26bd4471b3d8825aee8efa1b6da1bb">  573</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a7d26bd4471b3d8825aee8efa1b6da1bb">STATUS_AWAKE</a> = 0x40;           </div>
<div class="line"><a id="l00574" name="l00574"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#acce0b26663d4c5d0ac6e75e4ea57cad3">  574</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#acce0b26663d4c5d0ac6e75e4ea57cad3">STATUS_INACT</a> = 0x20;           </div>
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a04e2038bdba6870a40024cff520bb143">  575</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a04e2038bdba6870a40024cff520bb143">STATUS_ACT</a> = 0x10;             </div>
<div class="line"><a id="l00576" name="l00576"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a72094877d910f7122df00fa9ef392d24">  576</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a72094877d910f7122df00fa9ef392d24">STATUS_FIFO_OVERRUN</a> = 0x08;    </div>
<div class="line"><a id="l00577" name="l00577"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a72c379a6de0c34ab2624fb25d29d8aa2">  577</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a72c379a6de0c34ab2624fb25d29d8aa2">STATUS_FIFO_WATERMARK</a> = 0x04;  </div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a820f6cb5869533beecac8d53fb70f8e2">  578</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a820f6cb5869533beecac8d53fb70f8e2">STATUS_FIFO_READY</a> = 0x02;      </div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a71f6d1b0a191553b538cf3ca336ab065">  579</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a71f6d1b0a191553b538cf3ca336ab065">STATUS_DATA_READ</a> = 0x01;       </div>
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno">  580</span> </div>
<div class="line"><a id="l00581" name="l00581"></a><span class="lineno">  581</span>    <span class="comment">// Activity/inactivity control register</span></div>
<div class="line"><a id="l00582" name="l00582"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ae8a737b8adfe38e2b36ab9a641c3f69f">  582</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ae8a737b8adfe38e2b36ab9a641c3f69f">LINKLOOP_DEFAULT</a> = 0x0;        </div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a3ad720e23b69504182dacf0b54441a67">  583</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a3ad720e23b69504182dacf0b54441a67">LINKLOOP_LINKED</a> = 0x1;         </div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a51a0c025e8c845acde8d4b051a0b43bb">  584</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a51a0c025e8c845acde8d4b051a0b43bb">LINKLOOP_LOOP</a> = 0x3;           </div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno">  585</span> </div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a2173665076c21f214715f030e53af9ff">  586</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a2173665076c21f214715f030e53af9ff">ACTIVITY_INACT_REF</a> = 0x08;     </div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a092cde1f1a60cfdaa42b88917edfd5fa">  587</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a092cde1f1a60cfdaa42b88917edfd5fa">ACTIVITY_INACT_EN</a> = 0x04;      </div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a24f898370a44490b0952a36ddffeda3d">  588</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a24f898370a44490b0952a36ddffeda3d">ACTIVITY_ACT_REF</a> = 0x02;       </div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#affd4ccb5a9ec9bed579caf9649b42ee1">  589</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#affd4ccb5a9ec9bed579caf9649b42ee1">ACTIVITY_ACT_EN</a> = 0x01;        </div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno">  590</span> </div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno">  591</span>    <span class="comment">// Range in Filter Control Register</span></div>
<div class="line"><a id="l00592" name="l00592"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a719c5dd05f891d165e40c6be545d4d7e">  592</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a719c5dd05f891d165e40c6be545d4d7e">RANGE_2G</a>   = 0x0;              </div>
<div class="line"><a id="l00593" name="l00593"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a5f284f6fbec1cd963df9ad234f4220cb">  593</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a5f284f6fbec1cd963df9ad234f4220cb">RANGE_4G</a>   = 0x1;              </div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a46867b8f93a99e94a3544022d7a7b0a8">  594</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a46867b8f93a99e94a3544022d7a7b0a8">RANGE_8G</a>   = 0x2;              </div>
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno">  595</span> </div>
<div class="line"><a id="l00596" name="l00596"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#aa722b020487da68e9d44b796702214dd">  596</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#aa722b020487da68e9d44b796702214dd">HALF_BW_MASK</a> = 0x10;           </div>
<div class="line"><a id="l00597" name="l00597"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a2493176cd17adff794acc09c270930bd">  597</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a2493176cd17adff794acc09c270930bd">ODR_MASK</a> = 0x07;               </div>
<div class="line"><a id="l00598" name="l00598"></a><span class="lineno">  598</span> </div>
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno">  599</span>    <span class="comment">// Output Data Rate in Filter Control Register</span></div>
<div class="line"><a id="l00600" name="l00600"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a0f056f906c8b8a278e3b313dbf3d55bc">  600</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a0f056f906c8b8a278e3b313dbf3d55bc">ODR_12_5</a>   = 0x0;              </div>
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#aa2e46e3875ad17a4a30d4cf4e901c82c">  601</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#aa2e46e3875ad17a4a30d4cf4e901c82c">ODR_25</a>     = 0x1;              </div>
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a4f443e5535bc9fbf2d2902300193e5b2">  602</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a4f443e5535bc9fbf2d2902300193e5b2">ODR_50</a>     = 0x2;              </div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a9215cb422f861239ebb55d3a56613e4d">  603</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a9215cb422f861239ebb55d3a56613e4d">ODR_100</a>    = 0x3;              </div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a32998287d42b290f1aef5bbd395e8f1b">  604</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a32998287d42b290f1aef5bbd395e8f1b">ODR_200</a>    = 0x4;              </div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ace2e247686fcdb6dc3d5bca7394be94f">  605</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ace2e247686fcdb6dc3d5bca7394be94f">ODR_400</a>    = 0x5;              </div>
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno">  606</span> </div>
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno">  607</span>    <span class="comment">// FIFO mode</span></div>
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ad4407a5a069b075c42093125a3b927fc">  608</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ad4407a5a069b075c42093125a3b927fc">FIFO_DISABLED</a>  = 0x0;          </div>
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a2a5c9d802a49e8f8c92157be2c120dbb">  609</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a2a5c9d802a49e8f8c92157be2c120dbb">FIFO_OLDEST_SAVED</a> = 0x1;       </div>
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a752c2c5231faf4f7251b3222636dac5e">  610</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a752c2c5231faf4f7251b3222636dac5e">FIFO_STREAM</a>        = 0x2;      </div>
<div class="line"><a id="l00611" name="l00611"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a858b9e617cbc238496c71ea30eba4f90">  611</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a858b9e617cbc238496c71ea30eba4f90">FIFO_TRIGGERED</a>     = 0x3;      </div>
<div class="line"><a id="l00612" name="l00612"></a><span class="lineno">  612</span> </div>
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno">  613</span>    <span class="comment">// INTMAP1 and INTMAP2</span></div>
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a1801a01b9b74bfe498960d40e2f5937e">  614</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a1801a01b9b74bfe498960d40e2f5937e">INTMAP_INT_LOW</a> = 0x80;         </div>
<div class="line"><a id="l00615" name="l00615"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#af763a5fa027a8175aea011432f6e7ea1">  615</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#af763a5fa027a8175aea011432f6e7ea1">INTMAP_AWAKE</a> = 0x40;           </div>
<div class="line"><a id="l00616" name="l00616"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ad5bd64410aeef7580ed6781451457654">  616</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ad5bd64410aeef7580ed6781451457654">INTMAP_INACT</a> = 0x20;           </div>
<div class="line"><a id="l00617" name="l00617"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a69db7540b7c1906a49488710e1873d31">  617</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a69db7540b7c1906a49488710e1873d31">INTMAP_ACT</a> = 0x10;             </div>
<div class="line"><a id="l00618" name="l00618"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a0a4f4fb71e46595bd8a71f8c23155cec">  618</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a0a4f4fb71e46595bd8a71f8c23155cec">INTMAP_FIFO_OVERRUN</a> = 0x08;    </div>
<div class="line"><a id="l00619" name="l00619"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ac47d76bc9e8b1222bc87c6e7e836473a">  619</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ac47d76bc9e8b1222bc87c6e7e836473a">INTMAP_FIFO_WATERMARK</a> = 0x04;  </div>
<div class="line"><a id="l00620" name="l00620"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a36b61b93f6005d6739b6cffe50b231ba">  620</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a36b61b93f6005d6739b6cffe50b231ba">INTMAP_FIFO_READY</a> = 0x02;      </div>
<div class="line"><a id="l00621" name="l00621"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a43acc5f1ff4c04baf4da382ea82437d9">  621</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a43acc5f1ff4c04baf4da382ea82437d9">INTMAP_DATA_READY</a> = 0x01;      </div>
<div class="line"><a id="l00622" name="l00622"></a><span class="lineno">  622</span> </div>
<div class="line"><a id="l00623" name="l00623"></a><span class="lineno">  623</span>    <span class="comment">// Power Control</span></div>
<div class="line"><a id="l00624" name="l00624"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a6dafc321e5fe592f76c0a304fa1488cb">  624</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a6dafc321e5fe592f76c0a304fa1488cb">POWERCTL_EXT_CLK</a> = 0x40;       </div>
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a564bb6ccae0d3ceb0647d756aa515c23">  625</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a564bb6ccae0d3ceb0647d756aa515c23">POWERCTL_WAKEUP</a> = 0x08;        </div>
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#accb82ff24a3a3ce7e39558dc5077345b">  626</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#accb82ff24a3a3ce7e39558dc5077345b">POWERCTL_AUTOSLEEP</a> = 0x04;     </div>
<div class="line"><a id="l00627" name="l00627"></a><span class="lineno">  627</span> </div>
<div class="line"><a id="l00628" name="l00628"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#aa3c01b4a6bfd92310e394fa1628ca6a7">  628</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#aa3c01b4a6bfd92310e394fa1628ca6a7">LOWNOISE_NORMAL</a> = 0x0;         </div>
<div class="line"><a id="l00629" name="l00629"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ac629559e7b7e1acfa542a9604a2fe602">  629</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ac629559e7b7e1acfa542a9604a2fe602">LOWNOISE_LOW</a> = 0x1;            </div>
<div class="line"><a id="l00630" name="l00630"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a3a2a46620ed2887f74013c45dbc2d15a">  630</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a3a2a46620ed2887f74013c45dbc2d15a">LOWNOISE_ULTRALOW</a> = 0x2;       </div>
<div class="line"><a id="l00631" name="l00631"></a><span class="lineno">  631</span> </div>
<div class="line"><a id="l00632" name="l00632"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a39a99bb59ddd9a7aa5766afbda58ebc1">  632</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a39a99bb59ddd9a7aa5766afbda58ebc1">MEASURE_STANDBY</a> = 0x0;         </div>
<div class="line"><a id="l00633" name="l00633"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#acedb619dd5f07f4a5be8120d6040f503">  633</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> uint8_t <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#acedb619dd5f07f4a5be8120d6040f503">MEASURE_MEASUREMENT</a> = 0x2;     </div>
<div class="line"><a id="l00634" name="l00634"></a><span class="lineno">  634</span> </div>
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#ae8464e92a6f07df8b601530b4e73bde8">  635</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ae8464e92a6f07df8b601530b4e73bde8">STATE_FREE</a> = 0;            </div>
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a238fcfb0388f58a301fcb0adfc117988">  636</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a238fcfb0388f58a301fcb0adfc117988">STATE_READING_FIFO</a> = 1;    </div>
<div class="line"><a id="l00637" name="l00637"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_d_m_a.html#a7d44fd520f395494cbb524ad3fd10482">  637</a></span>    <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#a7d44fd520f395494cbb524ad3fd10482">STATE_READ_COMPLETE</a> = 2;   </div>
<div class="line"><a id="l00638" name="l00638"></a><span class="lineno">  638</span> </div>
<div class="line"><a id="l00639" name="l00639"></a><span class="lineno">  639</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00643" name="l00643"></a><span class="lineno">  643</span>    <span class="keywordtype">void</span> beginTransaction();</div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno">  644</span> </div>
<div class="line"><a id="l00648" name="l00648"></a><span class="lineno">  648</span>    <span class="keywordtype">void</span> endTransaction();</div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno">  649</span> </div>
<div class="line"><a id="l00650" name="l00650"></a><span class="lineno">  650</span>    <span class="keyword">static</span> <span class="keywordtype">void</span> readFifoCallbackInternal(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00651" name="l00651"></a><span class="lineno">  651</span> </div>
<div class="line"><a id="l00652" name="l00652"></a><span class="lineno">  652</span>    <span class="keywordtype">void</span> cleanBuffer(<a class="code hl_class" href="class_a_d_x_l362_data_base.html">ADXL362DataBase</a> *data);</div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno">  653</span> </div>
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno">  654</span>    SPIClass &amp;spi; </div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno">  655</span>    <span class="keywordtype">int</span> cs;     </div>
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno">  656</span>    SPISettings settings; </div>
<div class="line"><a id="l00657" name="l00657"></a><span class="lineno">  657</span>    <span class="keywordtype">bool</span> storeTemp = <span class="keyword">false</span>; </div>
<div class="line"><a id="l00658" name="l00658"></a><span class="lineno">  658</span>    uint8_t rangeG = 2;</div>
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno">  659</span>    uint8_t partialSampleBytes[8]; </div>
<div class="line"><a id="l00660" name="l00660"></a><span class="lineno">  660</span>    <span class="keywordtype">size_t</span>  partialSampleBytesCount = 0;</div>
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno">  661</span>};</div>
<div class="line"><a id="l00662" name="l00662"></a><span class="lineno">  662</span> </div>
<div class="line"><a id="l00663" name="l00663"></a><span class="lineno">  663</span> </div>
<div class="line"><a id="l00668" name="l00668"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_base.html">  668</a></span><span class="keyword">class </span><a class="code hl_class" href="class_a_d_x_l362_data_base.html">ADXL362DataBase</a> {</div>
<div class="line"><a id="l00669" name="l00669"></a><span class="lineno">  669</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_base.html#a6ee55260527e289c0f3342afb3e1f610">  676</a></span>    <a class="code hl_function" href="class_a_d_x_l362_data_base.html#a6ee55260527e289c0f3342afb3e1f610">ADXL362DataBase</a>(uint8_t *<a class="code hl_variable" href="class_a_d_x_l362_data_base.html#ae1c39f48882d71a039c70e685edd981b">buf</a>, <span class="keywordtype">size_t</span> <a class="code hl_variable" href="class_a_d_x_l362_data_base.html#a1b6b7b1baa7966ac7ecfebd2dbe7da5e">bufSize</a>) : <a class="code hl_variable" href="class_a_d_x_l362_data_base.html#ae1c39f48882d71a039c70e685edd981b">buf</a>(<a class="code hl_variable" href="class_a_d_x_l362_data_base.html#ae1c39f48882d71a039c70e685edd981b">buf</a>), <a class="code hl_variable" href="class_a_d_x_l362_data_base.html#a1b6b7b1baa7966ac7ecfebd2dbe7da5e">bufSize</a>(<a class="code hl_variable" href="class_a_d_x_l362_data_base.html#a1b6b7b1baa7966ac7ecfebd2dbe7da5e">bufSize</a>) {};</div>
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno">  677</span> </div>
<div class="line"><a id="l00681" name="l00681"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_base.html#a816795d7a39de5a8c3f4c9e2dab469dd">  681</a></span>    <span class="keyword">virtual</span> <a class="code hl_function" href="class_a_d_x_l362_data_base.html#a816795d7a39de5a8c3f4c9e2dab469dd">~ADXL362DataBase</a>() {};</div>
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno">  682</span> </div>
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno">  690</span>    int16_t <a class="code hl_function" href="class_a_d_x_l362_data_base.html#af79bddb871c0bc729c20c60104a92302">readX</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00691" name="l00691"></a><span class="lineno">  691</span> </div>
<div class="line"><a id="l00699" name="l00699"></a><span class="lineno">  699</span>    int16_t <a class="code hl_function" href="class_a_d_x_l362_data_base.html#a23d13f6a78c78c740ce9fca6c2504037">readY</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00700" name="l00700"></a><span class="lineno">  700</span> </div>
<div class="line"><a id="l00708" name="l00708"></a><span class="lineno">  708</span>    int16_t <a class="code hl_function" href="class_a_d_x_l362_data_base.html#aa08b7528ae44ef2ca7314dd404740df8">readZ</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00709" name="l00709"></a><span class="lineno">  709</span> </div>
<div class="line"><a id="l00717" name="l00717"></a><span class="lineno">  717</span>    int16_t <a class="code hl_function" href="class_a_d_x_l362_data_base.html#a4ca8103999e2795a13edd475e72bce4b">readT</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno">  718</span> </div>
<div class="line"><a id="l00726" name="l00726"></a><span class="lineno">  726</span>    int16_t <a class="code hl_function" href="class_a_d_x_l362_data_base.html#a1db3b0b5ce0128eec6139e6f681ce4b3">readSigned14</a>(<span class="keyword">const</span> uint8_t *pValue) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00727" name="l00727"></a><span class="lineno">  727</span> </div>
<div class="line"><a id="l00733" name="l00733"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_base.html#ae1c39f48882d71a039c70e685edd981b">  733</a></span>    uint8_t *<a class="code hl_variable" href="class_a_d_x_l362_data_base.html#ae1c39f48882d71a039c70e685edd981b">buf</a>;</div>
<div class="line"><a id="l00734" name="l00734"></a><span class="lineno">  734</span> </div>
<div class="line"><a id="l00740" name="l00740"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_base.html#aeb28fbf2cc8dbb6c3a7085b04c8c1ed1">  740</a></span>    <span class="keywordtype">bool</span> <a class="code hl_variable" href="class_a_d_x_l362_data_base.html#aeb28fbf2cc8dbb6c3a7085b04c8c1ed1">storeTemp</a> = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00741" name="l00741"></a><span class="lineno">  741</span> </div>
<div class="line"><a id="l00745" name="l00745"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_base.html#a89532177b5cd902c7aab98ea9122aa5e">  745</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="class_a_d_x_l362_data_base.html#a89532177b5cd902c7aab98ea9122aa5e">state</a> = <a class="code hl_variable" href="class_a_d_x_l362_d_m_a.html#ae8464e92a6f07df8b601530b4e73bde8">ADXL362DMA::STATE_FREE</a>;</div>
<div class="line"><a id="l00746" name="l00746"></a><span class="lineno">  746</span> </div>
<div class="line"><a id="l00750" name="l00750"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_base.html#ae7015c87dce625ab6cae51e2558f2b2c">  750</a></span>    <span class="keywordtype">size_t</span> <a class="code hl_variable" href="class_a_d_x_l362_data_base.html#ae7015c87dce625ab6cae51e2558f2b2c">bytesRead</a> = 0;</div>
<div class="line"><a id="l00751" name="l00751"></a><span class="lineno">  751</span> </div>
<div class="line"><a id="l00755" name="l00755"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_base.html#a47568f56131eda6c3f1200bb0d13d7a8">  755</a></span>    <span class="keywordtype">size_t</span> <a class="code hl_variable" href="class_a_d_x_l362_data_base.html#a47568f56131eda6c3f1200bb0d13d7a8">sampleSizeInBytes</a> = 0;</div>
<div class="line"><a id="l00756" name="l00756"></a><span class="lineno">  756</span> </div>
<div class="line"><a id="l00760" name="l00760"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_base.html#a07c771b612709e9a383a1fe0ba260d7f">  760</a></span>    <span class="keywordtype">size_t</span> <a class="code hl_variable" href="class_a_d_x_l362_data_base.html#a07c771b612709e9a383a1fe0ba260d7f">numSamplesRead</a> = 0;</div>
<div class="line"><a id="l00761" name="l00761"></a><span class="lineno">  761</span> </div>
<div class="line"><a id="l00765" name="l00765"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_base.html#ae7148b04b9da8c599005ec6e9d8ef9eb">  765</a></span>    <span class="keywordtype">size_t</span> <a class="code hl_variable" href="class_a_d_x_l362_data_base.html#ae7148b04b9da8c599005ec6e9d8ef9eb">startOffset</a> = 0;</div>
<div class="line"><a id="l00766" name="l00766"></a><span class="lineno">  766</span> </div>
<div class="line"><a id="l00770" name="l00770"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_base.html#a1b6b7b1baa7966ac7ecfebd2dbe7da5e">  770</a></span>    <span class="keywordtype">size_t</span> <a class="code hl_variable" href="class_a_d_x_l362_data_base.html#a1b6b7b1baa7966ac7ecfebd2dbe7da5e">bufSize</a> = 0;</div>
<div class="line"><a id="l00771" name="l00771"></a><span class="lineno">  771</span> </div>
<div class="line"><a id="l00772" name="l00772"></a><span class="lineno">  772</span>};</div>
<div class="line"><a id="l00773" name="l00773"></a><span class="lineno">  773</span> </div>
<div class="line"><a id="l00774" name="l00774"></a><span class="lineno">  774</span> </div>
<div class="line"><a id="l00784" name="l00784"></a><span class="lineno">  784</span><span class="keyword">template</span> &lt;<span class="keywordtype">size_t</span> BUF_SIZE&gt; </div>
<div class="line"><a id="l00785" name="l00785"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_ex.html">  785</a></span><span class="keyword">class </span><a class="code hl_class" href="class_a_d_x_l362_data_ex.html">ADXL362DataEx</a> : <span class="keyword">public</span> <a class="code hl_class" href="class_a_d_x_l362_data_base.html">ADXL362DataBase</a> {</div>
<div class="line"><a id="l00786" name="l00786"></a><span class="lineno">  786</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00790" name="l00790"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_ex.html#aa52acbd5854047a7102df7e40e13f301">  790</a></span>    <a class="code hl_function" href="class_a_d_x_l362_data_ex.html#aa52acbd5854047a7102df7e40e13f301">ADXL362DataEx</a>() : <a class="code hl_class" href="class_a_d_x_l362_data_base.html">ADXL362DataBase</a>(<a class="code hl_variable" href="class_a_d_x_l362_data_ex.html#a0c55d33ca4b49673ac408f01063ca176">staticBuf</a>, BUF_SIZE) {};</div>
<div class="line"><a id="l00791" name="l00791"></a><span class="lineno">  791</span> </div>
<div class="line"><a id="l00797" name="l00797"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data_ex.html#a0c55d33ca4b49673ac408f01063ca176">  797</a></span>    uint8_t <a class="code hl_variable" href="class_a_d_x_l362_data_ex.html#a0c55d33ca4b49673ac408f01063ca176">staticBuf</a>[BUF_SIZE];</div>
<div class="line"><a id="l00798" name="l00798"></a><span class="lineno">  798</span> </div>
<div class="line"><a id="l00799" name="l00799"></a><span class="lineno">  799</span> </div>
<div class="line"><a id="l00800" name="l00800"></a><span class="lineno">  800</span>};</div>
<div class="line"><a id="l00801" name="l00801"></a><span class="lineno">  801</span> </div>
<div class="line"><a id="l00807" name="l00807"></a><span class="lineno"><a class="line" href="class_a_d_x_l362_data.html">  807</a></span><span class="keyword">class </span><a class="code hl_class" href="class_a_d_x_l362_data.html">ADXL362Data</a> : <span class="keyword">public</span> <a class="code hl_class" href="class_a_d_x_l362_data_ex.html">ADXL362DataEx</a>&lt;128&gt; {</div>
<div class="line"><a id="l00808" name="l00808"></a><span class="lineno">  808</span>};</div>
<div class="line"><a id="l00809" name="l00809"></a><span class="lineno">  809</span> </div>
<div class="line"><a id="l00810" name="l00810"></a><span class="lineno">  810</span> </div>
<div class="line"><a id="l00811" name="l00811"></a><span class="lineno">  811</span><span class="preprocessor">#endif </span><span class="comment">/* __ADXL362_H */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00812" name="l00812"></a><span class="lineno">  812</span> </div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html">ADXL362DMA</a></div><div class="ttdoc">Class for ADXL362 accelerometer, connected by SPI.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:23</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a04e2038bdba6870a40024cff520bb143"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a04e2038bdba6870a40024cff520bb143">ADXL362DMA::STATUS_ACT</a></div><div class="ttdeci">static const uint8_t STATUS_ACT</div><div class="ttdoc">Activity detected.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:575</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a05288351287688331533844d459b6f87"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a05288351287688331533844d459b6f87">ADXL362DMA::writeIntmap2</a></div><div class="ttdeci">void writeIntmap2(uint8_t value)</div><div class="ttdoc">Writes the INTMAP2 register Address: 0x2B, Reset: 0x00, Name: INTMAP2.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:328</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a07e5f7e2dc622db3c6e8b99cb7603058"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a07e5f7e2dc622db3c6e8b99cb7603058">ADXL362DMA::readXYZ</a></div><div class="ttdeci">void readXYZ(int16_t &amp;x, int16_t &amp;y, int16_t &amp;z)</div><div class="ttdoc">Read a single XYZ sample from the current data register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:121</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a092cde1f1a60cfdaa42b88917edfd5fa"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a092cde1f1a60cfdaa42b88917edfd5fa">ADXL362DMA::ACTIVITY_INACT_EN</a></div><div class="ttdeci">static const uint8_t ACTIVITY_INACT_EN</div><div class="ttdoc">Inactivity enable (1)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:587</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a0a4f4fb71e46595bd8a71f8c23155cec"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a0a4f4fb71e46595bd8a71f8c23155cec">ADXL362DMA::INTMAP_FIFO_OVERRUN</a></div><div class="ttdeci">static const uint8_t INTMAP_FIFO_OVERRUN</div><div class="ttdoc">Map FIFO overrun to INT.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:618</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a0b3ee71ec17e12b861b1f3964bbbca6d"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a0b3ee71ec17e12b861b1f3964bbbca6d">ADXL362DMA::writeActivityThreshold</a></div><div class="ttdeci">void writeActivityThreshold(uint16_t value)</div><div class="ttdoc">Write the activity threshold register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:241</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a0e173f839e4244bb43c470e9771c3680"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a0e173f839e4244bb43c470e9771c3680">ADXL362DMA::REG_ZDATA_H</a></div><div class="ttdeci">static const uint8_t REG_ZDATA_H</div><div class="ttdoc">Z axis data (MSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:550</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a0f056f906c8b8a278e3b313dbf3d55bc"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a0f056f906c8b8a278e3b313dbf3d55bc">ADXL362DMA::ODR_12_5</a></div><div class="ttdeci">static const uint8_t ODR_12_5</div><div class="ttdoc">Output data rate 12.5 Hz.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:600</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a1081e703a96797082b80f47625e16b02"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a1081e703a96797082b80f47625e16b02">ADXL362DMA::REG_YDATA_H</a></div><div class="ttdeci">static const uint8_t REG_YDATA_H</div><div class="ttdoc">Y axis data (MSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:548</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a1801a01b9b74bfe498960d40e2f5937e"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a1801a01b9b74bfe498960d40e2f5937e">ADXL362DMA::INTMAP_INT_LOW</a></div><div class="ttdeci">static const uint8_t INTMAP_INT_LOW</div><div class="ttdoc">INT is active low.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:614</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a2173665076c21f214715f030e53af9ff"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a2173665076c21f214715f030e53af9ff">ADXL362DMA::ACTIVITY_INACT_REF</a></div><div class="ttdeci">static const uint8_t ACTIVITY_INACT_REF</div><div class="ttdoc">Inactivity in referenced mode (1) or absolute mode (0)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:586</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a238fcfb0388f58a301fcb0adfc117988"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a238fcfb0388f58a301fcb0adfc117988">ADXL362DMA::STATE_READING_FIFO</a></div><div class="ttdeci">static const int STATE_READING_FIFO</div><div class="ttdoc">ADXL362DataEx Reading FIFO by SPI DMA.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:636</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a2493176cd17adff794acc09c270930bd"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a2493176cd17adff794acc09c270930bd">ADXL362DMA::ODR_MASK</a></div><div class="ttdeci">static const uint8_t ODR_MASK</div><div class="ttdoc">Mask value for ODR bits in FILTER_CTL register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:597</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a24f898370a44490b0952a36ddffeda3d"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a24f898370a44490b0952a36ddffeda3d">ADXL362DMA::ACTIVITY_ACT_REF</a></div><div class="ttdeci">static const uint8_t ACTIVITY_ACT_REF</div><div class="ttdoc">Activity in referenced mode (1) or absolute mode (0)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:588</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a25a7d5eed5c9b959f4f912b6843ba937"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a25a7d5eed5c9b959f4f912b6843ba937">ADXL362DMA::readIntmap1</a></div><div class="ttdeci">uint8_t readIntmap1()</div><div class="ttdoc">Reads the INTMAP1 register Address: 0x2A, Reset: 0x00, Name: INTMAP1.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:316</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a27b6049d447592d847a06d9432a4c8fc"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a27b6049d447592d847a06d9432a4c8fc">ADXL362DMA::REG_YDATA_8</a></div><div class="ttdeci">static const uint8_t REG_YDATA_8</div><div class="ttdoc">Y axis data, 8 MSB only.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:540</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a288a40c8d9930f76fcdca4f31bf3520a"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a288a40c8d9930f76fcdca4f31bf3520a">ADXL362DMA::REG_THRESH_INACT_H</a></div><div class="ttdeci">static const uint8_t REG_THRESH_INACT_H</div><div class="ttdoc">Inactivity threshold (MSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:558</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a2a5c9d802a49e8f8c92157be2c120dbb"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a2a5c9d802a49e8f8c92157be2c120dbb">ADXL362DMA::FIFO_OLDEST_SAVED</a></div><div class="ttdeci">static const uint8_t FIFO_OLDEST_SAVED</div><div class="ttdoc">FIFO oldest saved.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:609</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a2dc7b13a3b1fffe9faec38f90e46c9a6"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a2dc7b13a3b1fffe9faec38f90e46c9a6">ADXL362DMA::getSampleSizeInBytes</a></div><div class="ttdeci">size_t getSampleSizeInBytes() const</div><div class="ttdoc">Returns the number of bytes for a full XYZ or XYZT FIFO entry depending on the storeTemp flag.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:520</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a30d4d525e7e388431dcbd287a58e1e87"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a30d4d525e7e388431dcbd287a58e1e87">ADXL362DMA::syncTransaction</a></div><div class="ttdeci">void syncTransaction(void *req, void *resp, size_t len)</div><div class="ttdoc">Begin a synchronous SPI DMI transaction.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:480</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a32998287d42b290f1aef5bbd395e8f1b"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a32998287d42b290f1aef5bbd395e8f1b">ADXL362DMA::ODR_200</a></div><div class="ttdeci">static const uint8_t ODR_200</div><div class="ttdoc">Output data rate 200 Hz.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:604</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a33282bc6a5f9d5bf0d409716cdfe8567"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a33282bc6a5f9d5bf0d409716cdfe8567">ADXL362DMA::REG_SILICON_ID</a></div><div class="ttdeci">static const uint8_t REG_SILICON_ID</div><div class="ttdoc">Silicon Revision ID (0x01)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:538</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a3613abc0092f3a47626a46583086e2ac"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a3613abc0092f3a47626a46583086e2ac">ADXL362DMA::softReset</a></div><div class="ttdeci">void softReset()</div><div class="ttdoc">Issue a soft reset call.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:35</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a36b61b93f6005d6739b6cffe50b231ba"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a36b61b93f6005d6739b6cffe50b231ba">ADXL362DMA::INTMAP_FIFO_READY</a></div><div class="ttdeci">static const uint8_t INTMAP_FIFO_READY</div><div class="ttdoc">Map FIFO ready to INT.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:620</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a39a99bb59ddd9a7aa5766afbda58ebc1"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a39a99bb59ddd9a7aa5766afbda58ebc1">ADXL362DMA::MEASURE_STANDBY</a></div><div class="ttdeci">static const uint8_t MEASURE_STANDBY</div><div class="ttdoc">Standby mode.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:632</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a3a2a46620ed2887f74013c45dbc2d15a"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a3a2a46620ed2887f74013c45dbc2d15a">ADXL362DMA::LOWNOISE_ULTRALOW</a></div><div class="ttdeci">static const uint8_t LOWNOISE_ULTRALOW</div><div class="ttdoc">Ultra low noise mode.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:630</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a3ad720e23b69504182dacf0b54441a67"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a3ad720e23b69504182dacf0b54441a67">ADXL362DMA::LINKLOOP_LINKED</a></div><div class="ttdeci">static const uint8_t LINKLOOP_LINKED</div><div class="ttdoc">Activity and inactivity sequentially linked.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:583</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a3e4bd6feb578cadb8729145d8a2caea1"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a3e4bd6feb578cadb8729145d8a2caea1">ADXL362DMA::writeActivityControl</a></div><div class="ttdeci">void writeActivityControl(uint8_t value)</div><div class="ttdoc">rite the activity/inactivity control register</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:259</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a423ce3c8b9e74e6efe3eb63b0251cc4d"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a423ce3c8b9e74e6efe3eb63b0251cc4d">ADXL362DMA::REG_THRESH_ACT_L</a></div><div class="ttdeci">static const uint8_t REG_THRESH_ACT_L</div><div class="ttdoc">Activity threshold (LSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:554</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a43acc5f1ff4c04baf4da382ea82437d9"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a43acc5f1ff4c04baf4da382ea82437d9">ADXL362DMA::INTMAP_DATA_READY</a></div><div class="ttdeci">static const uint8_t INTMAP_DATA_READY</div><div class="ttdoc">Map FIFI data ready to INT.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:621</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a46867b8f93a99e94a3544022d7a7b0a8"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a46867b8f93a99e94a3544022d7a7b0a8">ADXL362DMA::RANGE_8G</a></div><div class="ttdeci">static const uint8_t RANGE_8G</div><div class="ttdoc">Range +/- 8g.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:594</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a48fdfa7be6ccf69eb08ed5b8aef40044"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a48fdfa7be6ccf69eb08ed5b8aef40044">ADXL362DMA::CMD_READ_REGISTER</a></div><div class="ttdeci">static const uint8_t CMD_READ_REGISTER</div><div class="ttdoc">Read register command.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:531</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a4a057ad0c183bdac8ba4319cab8f7e1d"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a4a057ad0c183bdac8ba4319cab8f7e1d">ADXL362DMA::REG_YDATA_L</a></div><div class="ttdeci">static const uint8_t REG_YDATA_L</div><div class="ttdoc">Y axis data (LSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:547</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a4af1aa8ccf2bdab589a1398a32947dc8"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a4af1aa8ccf2bdab589a1398a32947dc8">ADXL362DMA::readFifoControl</a></div><div class="ttdeci">uint8_t readFifoControl()</div><div class="ttdoc">Read the FIFO control register Address: 0x28, Reset: 0x00, Name: FIFO_CONTROL.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:284</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a4e7b3dd4a5ce55c3814b03b709cd1b01"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a4e7b3dd4a5ce55c3814b03b709cd1b01">ADXL362DMA::chipDetect</a></div><div class="ttdeci">bool chipDetect()</div><div class="ttdoc">Returns true if the chip can be detected on the SPI bus.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:41</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a4f443e5535bc9fbf2d2902300193e5b2"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a4f443e5535bc9fbf2d2902300193e5b2">ADXL362DMA::ODR_50</a></div><div class="ttdeci">static const uint8_t ODR_50</div><div class="ttdoc">Output data rate 50 Hz.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:602</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a51a0c025e8c845acde8d4b051a0b43bb"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a51a0c025e8c845acde8d4b051a0b43bb">ADXL362DMA::LINKLOOP_LOOP</a></div><div class="ttdeci">static const uint8_t LINKLOOP_LOOP</div><div class="ttdoc">Sequentially linked, interrupts do not need be serviced.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:584</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a5277ea84198463f62ed31f0f2284cab8"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a5277ea84198463f62ed31f0f2284cab8">ADXL362DMA::REG_TDATA_H</a></div><div class="ttdeci">static const uint8_t REG_TDATA_H</div><div class="ttdoc">Temperature data (MSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:552</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a564bb6ccae0d3ceb0647d756aa515c23"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a564bb6ccae0d3ceb0647d756aa515c23">ADXL362DMA::POWERCTL_WAKEUP</a></div><div class="ttdeci">static const uint8_t POWERCTL_WAKEUP</div><div class="ttdoc">Wakeup mode.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:625</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a576c1c7dbc27bb869591ea09d48d09a4"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a576c1c7dbc27bb869591ea09d48d09a4">ADXL362DMA::REG_ACT_INACT_CTL</a></div><div class="ttdeci">static const uint8_t REG_ACT_INACT_CTL</div><div class="ttdoc">Activity/inactivity control register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:561</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a5f284f6fbec1cd963df9ad234f4220cb"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a5f284f6fbec1cd963df9ad234f4220cb">ADXL362DMA::RANGE_4G</a></div><div class="ttdeci">static const uint8_t RANGE_4G</div><div class="ttdoc">Range +/- 4g.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:593</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a611d458383b0bc50f546a74d9ca77663"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a611d458383b0bc50f546a74d9ca77663">ADXL362DMA::REG_TIME_INACT_H</a></div><div class="ttdeci">static const uint8_t REG_TIME_INACT_H</div><div class="ttdoc">Time inactivity register (MSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:560</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a642505fbd9b87951d38ae6ee3f2d9f03"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a642505fbd9b87951d38ae6ee3f2d9f03">ADXL362DMA::writeActivityTime</a></div><div class="ttdeci">void writeActivityTime(uint8_t value)</div><div class="ttdoc">Write the activity time register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:245</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a64fecd8ea8fa59f0631e16da05db08d2"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a64fecd8ea8fa59f0631e16da05db08d2">ADXL362DMA::REG_TDATA_L</a></div><div class="ttdeci">static const uint8_t REG_TDATA_L</div><div class="ttdoc">Temperature data (LSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:551</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a676aa18f6cd6193baaa6a3b3d9544f5d"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a676aa18f6cd6193baaa6a3b3d9544f5d">ADXL362DMA::readXYZT</a></div><div class="ttdeci">void readXYZT(int16_t &amp;x, int16_t &amp;y, int16_t &amp;z, int16_t &amp;t)</div><div class="ttdoc">Read a single XYZT sample from the current data register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:104</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a69db7540b7c1906a49488710e1873d31"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a69db7540b7c1906a49488710e1873d31">ADXL362DMA::INTMAP_ACT</a></div><div class="ttdeci">static const uint8_t INTMAP_ACT</div><div class="ttdoc">Map activity status to INT.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:617</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a6da07846f6b783391772683681933da9"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a6da07846f6b783391772683681933da9">ADXL362DMA::CMD_READ_FIFO</a></div><div class="ttdeci">static const uint8_t CMD_READ_FIFO</div><div class="ttdoc">Read FIFO command.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:532</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a6dafc321e5fe592f76c0a304fa1488cb"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a6dafc321e5fe592f76c0a304fa1488cb">ADXL362DMA::POWERCTL_EXT_CLK</a></div><div class="ttdeci">static const uint8_t POWERCTL_EXT_CLK</div><div class="ttdoc">Use external clock.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:624</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a6de10c3a2154ca30b38718a4df052ffc"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a6de10c3a2154ca30b38718a4df052ffc">ADXL362DMA::readPowerCtl</a></div><div class="ttdeci">uint8_t readPowerCtl()</div><div class="ttdoc">Reads the power control register Address: 0x2D, Reset: 0x00, Name: POWER_CTL.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:332</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a6fdfa611437a49c08f3a8c6d45c6005a"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a6fdfa611437a49c08f3a8c6d45c6005a">ADXL362DMA::readFifoAsync</a></div><div class="ttdeci">void readFifoAsync(ADXL362DataBase *data)</div><div class="ttdoc">Reads entries from the FIFO asynchronously using SPI DMA.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:179</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a719c5dd05f891d165e40c6be545d4d7e"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a719c5dd05f891d165e40c6be545d4d7e">ADXL362DMA::RANGE_2G</a></div><div class="ttdeci">static const uint8_t RANGE_2G</div><div class="ttdoc">Range +/- 2g (default)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:592</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a71f6d1b0a191553b538cf3ca336ab065"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a71f6d1b0a191553b538cf3ca336ab065">ADXL362DMA::STATUS_DATA_READ</a></div><div class="ttdeci">static const uint8_t STATUS_DATA_READ</div><div class="ttdoc">New sample available to read.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:579</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a72094877d910f7122df00fa9ef392d24"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a72094877d910f7122df00fa9ef392d24">ADXL362DMA::STATUS_FIFO_OVERRUN</a></div><div class="ttdeci">static const uint8_t STATUS_FIFO_OVERRUN</div><div class="ttdoc">FIFO overflow.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:576</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a7231bacc8d5a573338beece42fdc8235"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a7231bacc8d5a573338beece42fdc8235">ADXL362DMA::setSampleRate</a></div><div class="ttdeci">void setSampleRate(SampleRate rate)</div><div class="ttdoc">Set the sample rate.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:45</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a72587b60ebba63602a65746436fc4922"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a72587b60ebba63602a65746436fc4922">ADXL362DMA::writeRegister8</a></div><div class="ttdeci">void writeRegister8(uint8_t addr, uint8_t value)</div><div class="ttdoc">Write an 8-bit register value.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:444</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a72c379a6de0c34ab2624fb25d29d8aa2"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a72c379a6de0c34ab2624fb25d29d8aa2">ADXL362DMA::STATUS_FIFO_WATERMARK</a></div><div class="ttdeci">static const uint8_t STATUS_FIFO_WATERMARK</div><div class="ttdoc">FIFO reached watermark.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:577</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a752c2c5231faf4f7251b3222636dac5e"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a752c2c5231faf4f7251b3222636dac5e">ADXL362DMA::FIFO_STREAM</a></div><div class="ttdeci">static const uint8_t FIFO_STREAM</div><div class="ttdoc">FIFO stream mode.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:610</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a7d26bd4471b3d8825aee8efa1b6da1bb"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a7d26bd4471b3d8825aee8efa1b6da1bb">ADXL362DMA::STATUS_AWAKE</a></div><div class="ttdeci">static const uint8_t STATUS_AWAKE</div><div class="ttdoc">AWAKE (1) or inactive (0) state.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:573</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a7d44fd520f395494cbb524ad3fd10482"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a7d44fd520f395494cbb524ad3fd10482">ADXL362DMA::STATE_READ_COMPLETE</a></div><div class="ttdeci">static const int STATE_READ_COMPLETE</div><div class="ttdoc">ADXL362DataEx Reading complete.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:637</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a7fbecff6c6f8cd4e74335c30cae05131"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a7fbecff6c6f8cd4e74335c30cae05131">ADXL362DMA::REG_XDATA_H</a></div><div class="ttdeci">static const uint8_t REG_XDATA_H</div><div class="ttdoc">X axis data (MSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:546</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a802c6410e161b4c3ccdbdfb0f0eafa8c"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a802c6410e161b4c3ccdbdfb0f0eafa8c">ADXL362DMA::REG_SELF_TEST</a></div><div class="ttdeci">static const uint8_t REG_SELF_TEST</div><div class="ttdoc">Self test register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:568</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a808b65b615bc41dd306b1498d6828b02"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a808b65b615bc41dd306b1498d6828b02">ADXL362DMA::REG_STATUS</a></div><div class="ttdeci">static const uint8_t REG_STATUS</div><div class="ttdoc">Status register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:542</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a820f6cb5869533beecac8d53fb70f8e2"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a820f6cb5869533beecac8d53fb70f8e2">ADXL362DMA::STATUS_FIFO_READY</a></div><div class="ttdeci">static const uint8_t STATUS_FIFO_READY</div><div class="ttdoc">FIFO has at least one sample available.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:578</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a8374cbee774ed5745ace6e7e6bc882e6"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a8374cbee774ed5745ace6e7e6bc882e6">ADXL362DMA::readIntmap2</a></div><div class="ttdeci">uint8_t readIntmap2()</div><div class="ttdoc">Reads the INTMAP2 register Address: 0x2B, Reset: 0x00, Name: INTMAP2.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:324</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a83af33fc3292eb9bde9766c1769cc302"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a83af33fc3292eb9bde9766c1769cc302">ADXL362DMA::REG_FIFO_SAMPLES</a></div><div class="ttdeci">static const uint8_t REG_FIFO_SAMPLES</div><div class="ttdoc">Number of samples to store in FIFO.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:563</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a83b9676b56496aee772464730e28334e"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a83b9676b56496aee772464730e28334e">ADXL362DMA::REG_FILTER_CTL</a></div><div class="ttdeci">static const uint8_t REG_FILTER_CTL</div><div class="ttdoc">Filter control register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:566</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a84486828f73fe063011dbbe645cf3f50"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a84486828f73fe063011dbbe645cf3f50">ADXL362DMA::readRegister16</a></div><div class="ttdeci">uint16_t readRegister16(uint8_t addr)</div><div class="ttdoc">Reads an 16-bit register value.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:431</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a858b9e617cbc238496c71ea30eba4f90"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a858b9e617cbc238496c71ea30eba4f90">ADXL362DMA::FIFO_TRIGGERED</a></div><div class="ttdeci">static const uint8_t FIFO_TRIGGERED</div><div class="ttdoc">FIFO triggered mode.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:611</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a8b04646a18819d2cbf47b0d9a5cf1d1b"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a8b04646a18819d2cbf47b0d9a5cf1d1b">ADXL362DMA::REG_FIFO_ENTRIES_L</a></div><div class="ttdeci">static const uint8_t REG_FIFO_ENTRIES_L</div><div class="ttdoc">Number of FIFO entries (LSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:543</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a8c5463e88186b539f21c64da7a29c822"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a8c5463e88186b539f21c64da7a29c822">ADXL362DMA::writeInactivityTime</a></div><div class="ttdeci">void writeInactivityTime(uint16_t value)</div><div class="ttdoc">Writes the inactivity time register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:251</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a9215cb422f861239ebb55d3a56613e4d"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a9215cb422f861239ebb55d3a56613e4d">ADXL362DMA::ODR_100</a></div><div class="ttdeci">static const uint8_t ODR_100</div><div class="ttdoc">Output data rate 100 Hz (default)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:603</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a92c62c49a642a2a59e17b8130a07f43d"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a92c62c49a642a2a59e17b8130a07f43d">ADXL362DMA::REG_DEVID_AD</a></div><div class="ttdeci">static const uint8_t REG_DEVID_AD</div><div class="ttdoc">Device ID register (0xAD)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:535</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a9493d68c303e0e5d9cfe0b6f7b86ae26"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a9493d68c303e0e5d9cfe0b6f7b86ae26">ADXL362DMA::readRollPitchRadians</a></div><div class="ttdeci">void readRollPitchRadians(float &amp;roll, float &amp;pitch)</div><div class="ttdoc">Return the roll and pitch in radians.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:146</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a9505bf92630ce259d57d31bd70d882c9"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a9505bf92630ce259d57d31bd70d882c9">ADXL362DMA::readStatus</a></div><div class="ttdeci">uint8_t readStatus()</div><div class="ttdoc">Reads the status register STATUS.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:171</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a95443809390540083d586fa3cae7dad4"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a95443809390540083d586fa3cae7dad4">ADXL362DMA::writeInactivityThreshold</a></div><div class="ttdeci">void writeInactivityThreshold(uint16_t value)</div><div class="ttdoc">Write the inactivity threshold register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:248</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a96b27c5428c6068999df7a02b5957962"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a96b27c5428c6068999df7a02b5957962">ADXL362DMA::REG_XDATA_L</a></div><div class="ttdeci">static const uint8_t REG_XDATA_L</div><div class="ttdoc">X axis data (LSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:545</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a989cc6bdf5de887564a712726605a360"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a989cc6bdf5de887564a712726605a360">ADXL362DMA::REG_PART_ID</a></div><div class="ttdeci">static const uint8_t REG_PART_ID</div><div class="ttdoc">Part ID (0xF2)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:537</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a9dd56e06ae89e0637e08592f0add30da"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a9dd56e06ae89e0637e08592f0add30da">ADXL362DMA::writeIntmap1</a></div><div class="ttdeci">void writeIntmap1(uint8_t value)</div><div class="ttdoc">Writes the INTMAP1 register Address: 0x2A, Reset: 0x00, Name: INTMAP1.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:320</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_a9e5173d1c650107a0621c56904cff5bb"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#a9e5173d1c650107a0621c56904cff5bb">ADXL362DMA::REG_THRESH_ACT_H</a></div><div class="ttdeci">static const uint8_t REG_THRESH_ACT_H</div><div class="ttdoc">Activity threshold (MSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:555</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_aa099ec96a807431096bb43ef6e75e2c8"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#aa099ec96a807431096bb43ef6e75e2c8">ADXL362DMA::CMD_WRITE_REGISTER</a></div><div class="ttdeci">static const uint8_t CMD_WRITE_REGISTER</div><div class="ttdoc">Write register command.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:530</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_aa161b241f47cfe55fedd6b7cfdc00349"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#aa161b241f47cfe55fedd6b7cfdc00349">ADXL362DMA::REG_TIME_ACT</a></div><div class="ttdeci">static const uint8_t REG_TIME_ACT</div><div class="ttdoc">Activity time register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:556</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_aa2e46e3875ad17a4a30d4cf4e901c82c"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#aa2e46e3875ad17a4a30d4cf4e901c82c">ADXL362DMA::ODR_25</a></div><div class="ttdeci">static const uint8_t ODR_25</div><div class="ttdoc">Output data rate 25 Hz.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:601</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_aa3c01b4a6bfd92310e394fa1628ca6a7"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#aa3c01b4a6bfd92310e394fa1628ca6a7">ADXL362DMA::LOWNOISE_NORMAL</a></div><div class="ttdeci">static const uint8_t LOWNOISE_NORMAL</div><div class="ttdoc">Normal operation (default)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:628</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_aa722b020487da68e9d44b796702214dd"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#aa722b020487da68e9d44b796702214dd">ADXL362DMA::HALF_BW_MASK</a></div><div class="ttdeci">static const uint8_t HALF_BW_MASK</div><div class="ttdoc">Mask value for HALF_BW bit in FILTER_CTL register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:596</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_aa7dee373656782a54c78c06766017465"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#aa7dee373656782a54c78c06766017465">ADXL362DMA::REG_FIFO_INTMAP2</a></div><div class="ttdeci">static const uint8_t REG_FIFO_INTMAP2</div><div class="ttdoc">Interrupt mapping register 2.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:565</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_aacdd170c80293b23accb0383cc02be2e"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#aacdd170c80293b23accb0383cc02be2e">ADXL362DMA::REG_FIFO_ENTRIES_H</a></div><div class="ttdeci">static const uint8_t REG_FIFO_ENTRIES_H</div><div class="ttdoc">Number of FIFO entries (MSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:544</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_aad681a85c34717fc42a24df64126c686"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#aad681a85c34717fc42a24df64126c686">ADXL362DMA::REG_ZDATA_8</a></div><div class="ttdeci">static const uint8_t REG_ZDATA_8</div><div class="ttdoc">Z axis data, 8 MSB only.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:541</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ab1452ed8704593b870caf4d527b7c560"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ab1452ed8704593b870caf4d527b7c560">ADXL362DMA::readFilterControl</a></div><div class="ttdeci">uint8_t readFilterControl()</div><div class="ttdoc">Reads the filter control register Address: 0x2C, Reset: 0x13, Name: FILTER_CTL.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:378</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ab22b983781b39ba48f17f4ffaadb975b"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ab22b983781b39ba48f17f4ffaadb975b">ADXL362DMA::REG_FIFO_CONTROL</a></div><div class="ttdeci">static const uint8_t REG_FIFO_CONTROL</div><div class="ttdoc">FIFO control register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:562</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ab642364c3cf53558b05b3912684d4d08"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ab642364c3cf53558b05b3912684d4d08">ADXL362DMA::REG_THRESH_INACT_L</a></div><div class="ttdeci">static const uint8_t REG_THRESH_INACT_L</div><div class="ttdoc">Inactivity threshold (LSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:557</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_abfd359d9ae81b38fd376854b1bfbf86f"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#abfd359d9ae81b38fd376854b1bfbf86f">ADXL362DMA::readNumFifoEntries</a></div><div class="ttdeci">uint16_t readNumFifoEntries()</div><div class="ttdoc">Reads the number of entries available to read from the FIFO (FIFO_ENTRIES_L and FIFO_ENTRIES_H)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:175</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ac47d76bc9e8b1222bc87c6e7e836473a"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ac47d76bc9e8b1222bc87c6e7e836473a">ADXL362DMA::INTMAP_FIFO_WATERMARK</a></div><div class="ttdeci">static const uint8_t INTMAP_FIFO_WATERMARK</div><div class="ttdoc">Map FIFO watermark to INT.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:619</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ac5a4a81cb3df3cf749424709d9957027"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ac5a4a81cb3df3cf749424709d9957027">ADXL362DMA::writeFifoSamples</a></div><div class="ttdeci">void writeFifoSamples(uint8_t value)</div><div class="ttdoc">Writes the FIFO samples register Address: 0x29, Reset: 0x80, Name: FIFO_SAMPLES.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:292</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ac60f2381a9a13c94486c5d201761ba4c"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ac60f2381a9a13c94486c5d201761ba4c">ADXL362DMA::REG_SOFT_RESET</a></div><div class="ttdeci">static const uint8_t REG_SOFT_RESET</div><div class="ttdoc">Soft reset register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:553</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ac629559e7b7e1acfa542a9604a2fe602"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ac629559e7b7e1acfa542a9604a2fe602">ADXL362DMA::LOWNOISE_LOW</a></div><div class="ttdeci">static const uint8_t LOWNOISE_LOW</div><div class="ttdoc">Low noise mode.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:629</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ac7b9f0cc79b946f66f91e2c55936f2db"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ac7b9f0cc79b946f66f91e2c55936f2db">ADXL362DMA::writeRegister16</a></div><div class="ttdeci">void writeRegister16(uint8_t addr, uint16_t value)</div><div class="ttdoc">Write an 16-bit register value.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:456</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_acc61d99bb32c1999613101ce25d79e80"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#acc61d99bb32c1999613101ce25d79e80">ADXL362DMA::writeFifoControl</a></div><div class="ttdeci">void writeFifoControl(uint8_t value)</div><div class="ttdoc">Writes the FIFO control register Address: 0x28, Reset: 0x00, Name: FIFO_CONTROL.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:288</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_accb82ff24a3a3ce7e39558dc5077345b"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#accb82ff24a3a3ce7e39558dc5077345b">ADXL362DMA::POWERCTL_AUTOSLEEP</a></div><div class="ttdeci">static const uint8_t POWERCTL_AUTOSLEEP</div><div class="ttdoc">Autosleep.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:626</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_acce0b26663d4c5d0ac6e75e4ea57cad3"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#acce0b26663d4c5d0ac6e75e4ea57cad3">ADXL362DMA::STATUS_INACT</a></div><div class="ttdeci">static const uint8_t STATUS_INACT</div><div class="ttdoc">Inactivity or free fall condition.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:574</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_acd707a22e804cb2e1c08bca745ef5bf7"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#acd707a22e804cb2e1c08bca745ef5bf7">ADXL362DMA::REG_ZDATA_L</a></div><div class="ttdeci">static const uint8_t REG_ZDATA_L</div><div class="ttdoc">Z axis data (LSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:549</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ace2e247686fcdb6dc3d5bca7394be94f"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ace2e247686fcdb6dc3d5bca7394be94f">ADXL362DMA::ODR_400</a></div><div class="ttdeci">static const uint8_t ODR_400</div><div class="ttdoc">Output data rate 400 Hz.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:605</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ace7908e2b9f1b2800263282bf2c406b9"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ace7908e2b9f1b2800263282bf2c406b9">ADXL362DMA::writeFilterControl</a></div><div class="ttdeci">void writeFilterControl(uint8_t value)</div><div class="ttdoc">Writes the filter control register Address: 0x2C, Reset: 0x13, Name: FILTER_CTL.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:382</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_acedb619dd5f07f4a5be8120d6040f503"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#acedb619dd5f07f4a5be8120d6040f503">ADXL362DMA::MEASURE_MEASUREMENT</a></div><div class="ttdeci">static const uint8_t MEASURE_MEASUREMENT</div><div class="ttdoc">Measurement mode.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:633</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ad117ed8fde3cb114e5b0e3537af8d63d"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ad117ed8fde3cb114e5b0e3537af8d63d">ADXL362DMA::writeFifoControlAndSamples</a></div><div class="ttdeci">void writeFifoControlAndSamples(uint16_t samples, bool storeTemp, uint8_t fifoMode)</div><div class="ttdoc">Writes the FIFO control and samples registers.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:297</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ad214f7d4ae7434e21bc8b5d41007fd2f"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ad214f7d4ae7434e21bc8b5d41007fd2f">ADXL362DMA::REG_POWER_CTL</a></div><div class="ttdeci">static const uint8_t REG_POWER_CTL</div><div class="ttdoc">Power control register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:567</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ad2e7e965fe8203991aae915f7e8843ab"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ad2e7e965fe8203991aae915f7e8843ab">ADXL362DMA::REG_XDATA_8</a></div><div class="ttdeci">static const uint8_t REG_XDATA_8</div><div class="ttdoc">X axis data, 8 MSB only.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:539</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ad4407a5a069b075c42093125a3b927fc"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ad4407a5a069b075c42093125a3b927fc">ADXL362DMA::FIFO_DISABLED</a></div><div class="ttdeci">static const uint8_t FIFO_DISABLED</div><div class="ttdoc">FIFO disabled (default)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:608</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ad5bd64410aeef7580ed6781451457654"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ad5bd64410aeef7580ed6781451457654">ADXL362DMA::INTMAP_INACT</a></div><div class="ttdeci">static const uint8_t INTMAP_INACT</div><div class="ttdoc">Map inactivity status to INT.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:616</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ad67f624fa7c36956e4b87a9353df069c"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ad67f624fa7c36956e4b87a9353df069c">ADXL362DMA::REG_FIFO_INTMAP1</a></div><div class="ttdeci">static const uint8_t REG_FIFO_INTMAP1</div><div class="ttdoc">Interrupt mapping register 1.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:564</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_adbdd4bfcbb325123e21c782a00c6679b"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#adbdd4bfcbb325123e21c782a00c6679b">ADXL362DMA::REG_DEVID_MST</a></div><div class="ttdeci">static const uint8_t REG_DEVID_MST</div><div class="ttdoc">MEMS device ID (0x1D)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:536</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_adee4a68cc2dda738a3f5d0f880285f37"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#adee4a68cc2dda738a3f5d0f880285f37">ADXL362DMA::readActivityControl</a></div><div class="ttdeci">uint8_t readActivityControl(uint8_t value)</div><div class="ttdoc">Read the activity/inactivity control register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:255</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ae070a8ecbcf805e8dedb19521364607a"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ae070a8ecbcf805e8dedb19521364607a">ADXL362DMA::REG_TIME_INACT_L</a></div><div class="ttdeci">static const uint8_t REG_TIME_INACT_L</div><div class="ttdoc">Time inactivity register (LSB)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:559</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ae8464e92a6f07df8b601530b4e73bde8"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ae8464e92a6f07df8b601530b4e73bde8">ADXL362DMA::STATE_FREE</a></div><div class="ttdeci">static const int STATE_FREE</div><div class="ttdoc">ADXL362DataEx Not currently in use.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:635</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_ae8a737b8adfe38e2b36ab9a641c3f69f"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#ae8a737b8adfe38e2b36ab9a641c3f69f">ADXL362DMA::LINKLOOP_DEFAULT</a></div><div class="ttdeci">static const uint8_t LINKLOOP_DEFAULT</div><div class="ttdoc">Activity and inactivity detection enabled.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:582</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_aec0071aabe49b6604056e5f922cdaa2d"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#aec0071aabe49b6604056e5f922cdaa2d">ADXL362DMA::STATUS_ERR_USER_REGS</a></div><div class="ttdeci">static const uint8_t STATUS_ERR_USER_REGS</div><div class="ttdoc">SEU error detect.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:572</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af0187e7e2406ab17e0d85f5af121e58d"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af0187e7e2406ab17e0d85f5af121e58d">ADXL362DMA::readTemperatureC</a></div><div class="ttdeci">float readTemperatureC()</div><div class="ttdoc">Reads the temperature in degrees Celsius.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:138</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af0449702b1acbcd239b914cc2c0c5230"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af0449702b1acbcd239b914cc2c0c5230">ADXL362DMA::setMeasureMode</a></div><div class="ttdeci">void setMeasureMode(bool enabled=true)</div><div class="ttdoc">Enable or disable measure mode in the power control register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:88</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af130f51e52ee3e6bb870d5f8807cf2ae"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af130f51e52ee3e6bb870d5f8807cf2ae">ADXL362DMA::writeLowNoise</a></div><div class="ttdeci">void writeLowNoise(uint8_t value)</div><div class="ttdoc">Set the low noise mode in the power control register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:358</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af35bbf22cc8a33130c9acb2388f3b9d7"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af35bbf22cc8a33130c9acb2388f3b9d7">ADXL362DMA::writeMeasureMode</a></div><div class="ttdeci">void writeMeasureMode(uint8_t value)</div><div class="ttdoc">Set the measure mode in the power control register.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:367</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af688bb9b1b5412d7ca02d1117afe2628"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af688bb9b1b5412d7ca02d1117afe2628">ADXL362DMA::~ADXL362DMA</a></div><div class="ttdeci">virtual ~ADXL362DMA()</div><div class="ttdoc">Normally this object is created as a global variable and never deleted.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:32</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af6f5affc50b5f4ba99c9197bd939ff68"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68">ADXL362DMA::SampleRate</a></div><div class="ttdeci">SampleRate</div><div class="ttdoc">Sample rate constants for setSampleRate.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:30</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af6f5affc50b5f4ba99c9197bd939ff68a100226fa04828ab7f5a18b42a3029231"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68a100226fa04828ab7f5a18b42a3029231">ADXL362DMA::SampleRate::RATE_6_25_HZ</a></div><div class="ttdeci">@ RATE_6_25_HZ</div><div class="ttdoc">6.25 samples per second (quarter oversampling)</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af6f5affc50b5f4ba99c9197bd939ff68a3482c5eb1cbc1947be66ef1f4e2942f2"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68a3482c5eb1cbc1947be66ef1f4e2942f2">ADXL362DMA::SampleRate::RATE_200_HZ</a></div><div class="ttdeci">@ RATE_200_HZ</div><div class="ttdoc">200 samples per second (half oversampling)</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af6f5affc50b5f4ba99c9197bd939ff68a624fd2783d9362c39be475dc6ec3aa93"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68a624fd2783d9362c39be475dc6ec3aa93">ADXL362DMA::SampleRate::RATE_3_125_HZ</a></div><div class="ttdeci">@ RATE_3_125_HZ</div><div class="ttdoc">3.125 samples per second (quarter oversampling)</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af6f5affc50b5f4ba99c9197bd939ff68aa1e82bd62bee29679cc3c5ac48cb7b7d"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68aa1e82bd62bee29679cc3c5ac48cb7b7d">ADXL362DMA::SampleRate::RATE_50_HZ</a></div><div class="ttdeci">@ RATE_50_HZ</div><div class="ttdoc">50 samples per second (quarter oversampling)</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af6f5affc50b5f4ba99c9197bd939ff68aa7e3500362eb0cfec89491139fbdaf08"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68aa7e3500362eb0cfec89491139fbdaf08">ADXL362DMA::SampleRate::RATE_100_HZ</a></div><div class="ttdeci">@ RATE_100_HZ</div><div class="ttdoc">100 samples per second (quarter oversampling)</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af6f5affc50b5f4ba99c9197bd939ff68ab56f9853e3eebc8f4fde7c6f9786efb5"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68ab56f9853e3eebc8f4fde7c6f9786efb5">ADXL362DMA::SampleRate::RATE_25_HZ</a></div><div class="ttdeci">@ RATE_25_HZ</div><div class="ttdoc">25 samples per second (quarter oversampling)</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af6f5affc50b5f4ba99c9197bd939ff68aea763bc634c771b683be09694e1ceefd"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af6f5affc50b5f4ba99c9197bd939ff68aea763bc634c771b683be09694e1ceefd">ADXL362DMA::SampleRate::RATE_12_5_HZ</a></div><div class="ttdeci">@ RATE_12_5_HZ</div><div class="ttdoc">12.5 samples per second (quarter oversampling)</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af763a5fa027a8175aea011432f6e7ea1"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af763a5fa027a8175aea011432f6e7ea1">ADXL362DMA::INTMAP_AWAKE</a></div><div class="ttdeci">static const uint8_t INTMAP_AWAKE</div><div class="ttdoc">Map awake status to INT.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:615</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_af9e8fb0fce80702214f788a7af08092e"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#af9e8fb0fce80702214f788a7af08092e">ADXL362DMA::writePowerCtl</a></div><div class="ttdeci">void writePowerCtl(uint8_t value)</div><div class="ttdoc">Writes the power control register Address: 0x2D, Reset: 0x00, Name: POWER_CTL.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:336</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_afb9bd621fbf60cab4a4a4a035eb78146"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#afb9bd621fbf60cab4a4a4a035eb78146">ADXL362DMA::readRegister8</a></div><div class="ttdeci">uint8_t readRegister8(uint8_t addr)</div><div class="ttdoc">Reads an 8-bit register value.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:419</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_afcb3ddd39ccfc8aca211cfbb1b16b2b1"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#afcb3ddd39ccfc8aca211cfbb1b16b2b1">ADXL362DMA::readTemperatureF</a></div><div class="ttdeci">float readTemperatureF()</div><div class="ttdoc">Reads the temperature in degrees Fahrenheit.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:142</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_affd4ccb5a9ec9bed579caf9649b42ee1"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#affd4ccb5a9ec9bed579caf9649b42ee1">ADXL362DMA::ACTIVITY_ACT_EN</a></div><div class="ttdeci">static const uint8_t ACTIVITY_ACT_EN</div><div class="ttdoc">Activity enable (1)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:589</div></div>
<div class="ttc" id="aclass_a_d_x_l362_d_m_a_html_affe8d8877ed5b7dc9c60886e8a15940d"><div class="ttname"><a href="class_a_d_x_l362_d_m_a.html#affe8d8877ed5b7dc9c60886e8a15940d">ADXL362DMA::readRollPitchDegrees</a></div><div class="ttdeci">void readRollPitchDegrees(float &amp;roll, float &amp;pitch)</div><div class="ttdoc">Return the roll and pitch in degrees.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:161</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html"><div class="ttname"><a href="class_a_d_x_l362_data_base.html">ADXL362DataBase</a></div><div class="ttdoc">Base class for ADXL362Data and ADXL362DataEx.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:668</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_a07c771b612709e9a383a1fe0ba260d7f"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#a07c771b612709e9a383a1fe0ba260d7f">ADXL362DataBase::numSamplesRead</a></div><div class="ttdeci">size_t numSamplesRead</div><div class="ttdoc">Number of samples in the buffer.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:760</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_a1b6b7b1baa7966ac7ecfebd2dbe7da5e"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#a1b6b7b1baa7966ac7ecfebd2dbe7da5e">ADXL362DataBase::bufSize</a></div><div class="ttdeci">size_t bufSize</div><div class="ttdoc">Size of buf in bytes.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:770</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_a1db3b0b5ce0128eec6139e6f681ce4b3"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#a1db3b0b5ce0128eec6139e6f681ce4b3">ADXL362DataBase::readSigned14</a></div><div class="ttdeci">int16_t readSigned14(const uint8_t *pValue) const</div><div class="ttdoc">Read an signed 14-bit value out of the buffer.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:496</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_a23d13f6a78c78c740ce9fca6c2504037"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#a23d13f6a78c78c740ce9fca6c2504037">ADXL362DataBase::readY</a></div><div class="ttdeci">int16_t readY(size_t index) const</div><div class="ttdoc">Read an y value out of the buffer.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:510</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_a47568f56131eda6c3f1200bb0d13d7a8"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#a47568f56131eda6c3f1200bb0d13d7a8">ADXL362DataBase::sampleSizeInBytes</a></div><div class="ttdeci">size_t sampleSizeInBytes</div><div class="ttdoc">Sample size, either 6 or 8 bytes depending on storeTemp.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:755</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_a4ca8103999e2795a13edd475e72bce4b"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#a4ca8103999e2795a13edd475e72bce4b">ADXL362DataBase::readT</a></div><div class="ttdeci">int16_t readT(size_t index) const</div><div class="ttdoc">Read a temperature value out of the buffer (if stored)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:518</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_a6ee55260527e289c0f3342afb3e1f610"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#a6ee55260527e289c0f3342afb3e1f610">ADXL362DataBase::ADXL362DataBase</a></div><div class="ttdeci">ADXL362DataBase(uint8_t *buf, size_t bufSize)</div><div class="ttdoc">Constructor - You will not allocate one of these directly.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:676</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_a816795d7a39de5a8c3f4c9e2dab469dd"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#a816795d7a39de5a8c3f4c9e2dab469dd">ADXL362DataBase::~ADXL362DataBase</a></div><div class="ttdeci">virtual ~ADXL362DataBase()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:681</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_a89532177b5cd902c7aab98ea9122aa5e"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#a89532177b5cd902c7aab98ea9122aa5e">ADXL362DataBase::state</a></div><div class="ttdeci">int state</div><div class="ttdoc">State of this object (free, reading, or complete)</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:745</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_aa08b7528ae44ef2ca7314dd404740df8"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#aa08b7528ae44ef2ca7314dd404740df8">ADXL362DataBase::readZ</a></div><div class="ttdeci">int16_t readZ(size_t index) const</div><div class="ttdoc">Read an z value out of the buffer.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:514</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_ae1c39f48882d71a039c70e685edd981b"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#ae1c39f48882d71a039c70e685edd981b">ADXL362DataBase::buf</a></div><div class="ttdeci">uint8_t * buf</div><div class="ttdoc">Buffer size. Should be a multiple of the entry size.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:733</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_ae7015c87dce625ab6cae51e2558f2b2c"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#ae7015c87dce625ab6cae51e2558f2b2c">ADXL362DataBase::bytesRead</a></div><div class="ttdeci">size_t bytesRead</div><div class="ttdoc">Number of bytes (not samples!) read on completion.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:750</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_ae7148b04b9da8c599005ec6e9d8ef9eb"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#ae7148b04b9da8c599005ec6e9d8ef9eb">ADXL362DataBase::startOffset</a></div><div class="ttdeci">size_t startOffset</div><div class="ttdoc">When the FIFO is out of sync with the beginning of the X sample, this is the offset.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:765</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_aeb28fbf2cc8dbb6c3a7085b04c8c1ed1"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#aeb28fbf2cc8dbb6c3a7085b04c8c1ed1">ADXL362DataBase::storeTemp</a></div><div class="ttdeci">bool storeTemp</div><div class="ttdoc">Whether to store temperature or not.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:740</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_base_html_af79bddb871c0bc729c20c60104a92302"><div class="ttname"><a href="class_a_d_x_l362_data_base.html#af79bddb871c0bc729c20c60104a92302">ADXL362DataBase::readX</a></div><div class="ttdeci">int16_t readX(size_t index) const</div><div class="ttdoc">Read an x value out of the buffer.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.cpp:506</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_ex_html"><div class="ttname"><a href="class_a_d_x_l362_data_ex.html">ADXL362DataEx</a></div><div class="ttdoc">Class used to store data from the FIFO.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:785</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_ex_html_a0c55d33ca4b49673ac408f01063ca176"><div class="ttname"><a href="class_a_d_x_l362_data_ex.html#a0c55d33ca4b49673ac408f01063ca176">ADXL362DataEx::staticBuf</a></div><div class="ttdeci">uint8_t staticBuf[BUF_SIZE]</div><div class="ttdoc">Buffer size. Should be a multiple of the entry size.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:797</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_ex_html_aa52acbd5854047a7102df7e40e13f301"><div class="ttname"><a href="class_a_d_x_l362_data_ex.html#aa52acbd5854047a7102df7e40e13f301">ADXL362DataEx::ADXL362DataEx</a></div><div class="ttdeci">ADXL362DataEx()</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:790</div></div>
<div class="ttc" id="aclass_a_d_x_l362_data_html"><div class="ttname"><a href="class_a_d_x_l362_data.html">ADXL362Data</a></div><div class="ttdoc">Class used to store data from the FIFO.</div><div class="ttdef"><b>Definition:</b> ADXL362DMA.h:807</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
